#ifndef CONTOURWINDOW_HPP_INCLUDED
#define CONTOURWINDOW_HPP_INCLUDED

#include <gtkmm.h>
#include <libglademm.h>
#include <string>
#include "principalwindow.hpp"
#include "objects.hpp"
#include "imagewindow.hpp"
#include "IRS.h"

class MainWindow;
class CustomWindow;

class ContourWindow : public Objects{

    //Main window
    MainWindow *principalwindow;

    //GUI objects
    CustomWindow *window;
    Gtk::ImageMenuItem *menusave;
    Gtk::Image *image;
    Gtk::MenuItem *menuopen;
     Gtk::MenuItem *menutest;
    Gtk::MenuItem *menusaveimage;


    //interface image
    Glib::RefPtr<Gdk::Pixbuf> *interfaceimage;

    //Image
    Contour* contour;


    //image path in HD(if has)
    std::string contourpath;


    public:
    //constructors
    ContourWindow(Contour* con,MainWindow *main);

    //destructors
    ~ContourWindow();

    virtual bool close(GdkEventAny *);
    virtual void open();
    virtual void save();
    virtual void saveimage();
    virtual void test();
};

#endif // CONTOUR_HPP_INCLUDED
